We’ve finally arrived at creating our first maps based on the data we imported and cleaned in the previous sessions. The focus of this first session lies on the package tmap to create maps.
In a second step, we want to visualize some information on the German districts contained in the attribute table. Choose the column death_rate and create a map of Covid-19 deaths in Germany. Alternate the map by:
Assign your map to an object called covid_map.
Combine following options with a plus sign:
tm_fill(col = "", title = "", palette = "") +tm_layout(title = "", title.color = "") +tm_legend(legend.outside = TRUE/FALSE, legend.outside.position = "")colors(), R returns the names of all built-in colors.
<-.